package Chocolatier;

public abstract class Chocolatier
{

	protected int numChocolatier;
	protected static int numEmploye = 0;
	protected String nom;
	protected String prenom;
	protected String lieuTravail;

	public Chocolatier()
	{
		numChocolatier = numEmploye++;
	}

	public int getNumChocolatier()
	{
		return numChocolatier;
	}

	public void setNumChocolatier(int numChocolatier)
	{
		this.numChocolatier = numChocolatier;
	}

	public static int getNumEmploye()
	{
		return numEmploye;
	}

	public static void setNumEmploye(int numEmploye)
	{
		Chocolatier.numEmploye = numEmploye;
	}

	public String getNom()
	{
		return nom;
	}

	public void setNom(String nom)
	{
		this.nom = nom;
	}

	public String getPrenom()
	{
		return prenom;
	}

	public void setPrenom(String prenom)
	{
		this.prenom = prenom;
	}

	public String getLieuTravail()
	{
		return lieuTravail;
	}

	public void setLieuTravail(String lieuTravail)
	{
		this.lieuTravail = lieuTravail;
	}
	
	public boolean equals(Chocolatier c){
		return(c.getNumChocolatier() == this.getNumChocolatier());
		
	}
}
